<?php
/**
 * Created by PhpStorm.
 * User: yangfan
 * Date: 2019/11/22
 * Time: 10:47 AM
 */

namespace App\VO\UserOrder\MetaInfo;

class RefundInfo
{
    /**
     * 退款表主键
     * @var int
     */
    public $orderRefundId;

    /**
     * 退单发起类型
     * @var int
     */
    public $type;

    /**
     * 退款原因
     * @var string
     */
    public $reason = '';

    /**
     * 退款状态描述
     * @var string
     */
    public $state = '';

    /**
     * 退款流水号
     * @var string
     */
    public $refundNo = '';

    /**
     * 退款时间
     * @var string
     */
    public $refundAt = '';

    /**
     * 支付方式
     * @var string
     */
    public $paymentMethod = '';

    /**
     * 发起退款时间
     * @var string
     */
    public $createdAt = '';

    /**
     * @return string
     */
    public function getReason(): string
    {
        return $this->reason;
    }

    /**
     * @param string $reason
     */
    public function setReason(string $reason): void
    {
        $this->reason = $reason;
    }

    /**
     * @return string
     */
    public function getState(): string
    {
        return $this->state;
    }

    /**
     * @param string $state
     */
    public function setState(string $state): void
    {
        $this->state = $state;
    }

    /**
     * @return string
     */
    public function getRefundNo(): string
    {
        return $this->refundNo;
    }

    /**
     * @param string $refundNo
     */
    public function setRefundNo(string $refundNo): void
    {
        $this->refundNo = $refundNo;
    }

    /**
     * @return string
     */
    public function getPaymentMethod(): string
    {
        return $this->paymentMethod;
    }

    /**
     * @param string $paymentMethod
     */
    public function setPaymentMethod(string $paymentMethod): void
    {
        $this->paymentMethod = $paymentMethod;
    }

    /**
     * @return int
     */
    public function getOrderRefundId(): int
    {
        return $this->orderRefundId;
    }

    /**
     * @param int $orderRefundId
     */
    public function setOrderRefundId(int $orderRefundId): void
    {
        $this->orderRefundId = $orderRefundId;
    }

    /**
     * @return string
     */
    public function getRefundAt(): string
    {
        return $this->refundAt;
    }

    /**
     * @param string $refundAt
     */
    public function setRefundAt(string $refundAt): void
    {
        $this->refundAt = $refundAt;
    }

    /**
     * @param string $createdAt
     */
    public function setCreatedAt(string $createdAt): void
    {
        $this->createdAt = $createdAt;
    }

    /**
     * @param int $type
     */
    public function setType(int $type): void
    {
        $this->type = $type;
    }
}
